<%@ page language="java" contentType="text/html; charset=utf-8"
    pageEncoding="utf-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<link rel="stylesheet" type="text/css" href="res/layui/css/layui.css">
<link rel="stylesheet" type="text/css" href="res/css/main.css">
<link rel="stylesheet" href="res/css/index.css">
<link rel="stylesheet" href="custom/css/bloger.css">
<title>赛程安排</title>
<style>
	.title{
		width:100%;
		margin:20px 0px 25px 0px;
		font-size: 27px;
		text-align: center;
		color: #EE7621;
	}
	#yuanagain{
			width:250px;
			height:180px; 
			border-radius:70%; 
			overflow:hidden;
			text-align: center;
		}
</style>
</head>
<body>

	<!-- 导入导航栏 -->
	<div class="layui-container" style="width:100%">
	  	<%@ include file="header.jsp" %> 
  	</div>
  	
  	
  	<!-- 项目展示 -->
    <div class="cont w1100">
    	<div class="list-item">
	        <div class="item">
	          <div class="layui-fluid">
	            <div class="layui-row">
	              <div class="layui-col-xs12 layui-col-sm12 layui-col-md12">
	                    <div class="info title" style="width:100%;border-bottom: 2px solid #4A708B"><p style="margin-bottom: 30px;">更多运动项目</p></div>
	              </div>
	            </div>
	          </div>
	         </div>
			<div class="layui-fluid">
				<div class="layui-row">
				<c:forEach items="${moreproject }" var="obj" >
					<div class="layui-col-xs4 layui-col-sm4 layui-col-md4" style="margin: 0px 5px 15px 5px;width: 32%;">
						<div class="layui-card">
					   		<div class="layui-card-body" style="text-align: center;">
					   			<div id="yuanagain">
						   			<a href="projectdetail.action?projectid=${obj.projectid }">
										<img alt="" src="${obj.note }" height="180px" width=100%>
									 </a>
								</div>
							</div>
					   		<h2 style="margin-bottom: 5px;color: #1A1A1A;"><a href="projectdetail.action?projectid=${obj.projectid }"><span>&nbsp;【${obj.projectname }】</span></a></h2>
								<c:if test="${obj.itemcategory == 1 }">
									<p style="margin-bottom: 5px;color: #1A1A1A;">
										&nbsp;&nbsp;项目类别：
										<span>田赛</span>								
									</p>
								</c:if>
								<c:if test="${obj.itemcategory == 2 }">
									<p style="margin-bottom: 5px;color: #1A1A1A;">
										&nbsp;&nbsp;径赛田赛</span>	
									</p>
								</c:if>
								<p style="margin-bottom: 5px;color: #1A1A1A;">
									&nbsp;&nbsp;发布时间：<span>${obj.staretime }</span>
								</p>
					   	</div>
					</div>
				</c:forEach>
				</div>
			</div>
		</div>
    </div>
    <br><br><br>
  	
  	<!-- footer部分 -->
	<div class="layui-container" style="width:100%;margin-top:10px;">
	  	<%@ include file="footer.jsp" %> 
  	</div>
<script src="res/layui/layui.js"></script>
</body>
</html>